import React from 'react'
import { Router, Route, hashHistory, IndexRoute} from 'react-router'
import App from './components/app'
import Home from './components/Home'
import TodosPage from './components/TodosPage'

export default (
  <Route path='/' component={App}>
    <IndexRoute component={Home} />
    <Route path="/todos" component={TodosPage} ></Route>
  </Route>
)